<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>thymeleaf demo - Messsage expression</title>
</head>
<body>
<h1>本页面用于演示消息表达式#{..}</h1>

基本用法： th:text="#{welcome}"<br>
<span th:text="#{home.welcome}">default content</span>
<hr>
嵌套用法： th:text="#{welcome(${user.name})}<br>
<span th:text="#{home.welcome(${user.name})}">default content</span>
<hr>
非转义用法： th:utext="#{welcome(${user.name})}"<br>
<span th:utext="#{home.welcome(${user.name})}">default content</span>
<hr>


</body>
</html>